package cn.ecut.dzy.service.impl;

import cn.ecut.dzy.dao.IAccountDao;
import cn.ecut.dzy.dao.impl.AccountDaoImpl;
import cn.ecut.dzy.service.IAccountService;

/**
 * @program: Spring
 * @description:
 * @author: DingZhenYun
 * @create: 2021-09-08 16:29
 **/

public class AccountServiceImpl implements IAccountService {
        private IAccountDao accountDao = new AccountDaoImpl();

    /**
     * 模拟保存账户
     */
    @Override
    public void saveAccount() {
        int i = 1;
        System.out.println(i);
        accountDao.saveAccount();
        i++;
    }
}
